<?php /* Smarty version Smarty-3.1.12, created on 2013-01-10 08:33:45
         compiled from "templates\search.html" */ ?>
<?php /*%%SmartyHeaderCode:858750ea7bad346d70-80471465%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0bd2ce3355da12f98a93e245700a2e77c75156b8' => 
    array (
      0 => 'templates\\search.html',
      1 => 1357801185,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '858750ea7bad346d70-80471465',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50ea7bad533b04_92684964',
  'variables' => 
  array (
    'assign_info' => 0,
    'uid' => 0,
    'integral' => 0,
    'assign_bannerapp' => 0,
    'assgin_bannerapp' => 0,
    'assign_skeyword' => 0,
    'assign_search' => 0,
    'assign_artcategory' => 0,
    'assign_countapp' => 0,
    'assign_radnom' => 0,
    'kname' => 0,
    'assign_searchkw' => 0,
    'assign_apprank' => 0,
    'assign_rightapp' => 0,
    'assign_searchapp' => 0,
    'assign_first' => 0,
    'assign_pre' => 0,
    'assign_list' => 0,
    'assign_next' => 0,
    'assign_last' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50ea7bad533b04_92684964')) {function content_50ea7bad533b04_92684964($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[1]['info'];?>
" />
<meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[2]['info'];?>
" />
<link rel="stylesheet" href="/templates/css/style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/app_style.css" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="/templates/js/jquery.isotope.min.js"></script>
<script type="text/javascript" src="/templates/js/global.js"></script>
<title>APP搜索_<?php echo $_smarty_tpl->tpl_vars['assign_info']->value[0]['info'];?>
</title>
<style>
 body{ font-family:"新宋体"}
</style>
</head>
<body>
	<div id="wrap">
		<div id="nav">
        	<div class="nav_menu">
            	<div class="nav_menu_left">
                	<li><a href="#" onclick="Addme()">收藏本站</a></li>
                    <script>
                    function Addme() {
    					url = document.URL;  //你自己的主页地址
    					title = "游戏扒一扒";  //你自己的主页名称
    					window.external.AddFavorite(url, title);
					}
                    </script>
                    <li>固件</li>
                    <li>新闻中心</li>
                    <li>新手教程</li>
                    <li>越狱</li>
                    <li>微博</li>
                    <li>商务合作</li>
                </div>
                <div class="nav_menu_right">
                	<?php if ($_smarty_tpl->tpl_vars['uid']->value!=''){?>
                	<li><a href="member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">进入会员中心</a></li>
                    <li><a href="member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">剩余积分:<?php echo $_smarty_tpl->tpl_vars['integral']->value;?>
</a></li>
					<li class="quit"><span>退出</span></li>
					<?php }elseif($_smarty_tpl->tpl_vars['uid']->value==''){?>
					<li><a href="login.html" target="_blank">注册</a></li>
                    <li><a href="login.html" target="_blank">登录</a></li>					
                    <?php }?>
                </div>
            </div>
        </div><!--顶部-->
        <div id="header">
        	<div id="banner"><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['id'];?>
.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assgin_bannerapp']->value[0]['name'];?>
" /></a></div>
            <div id="menu">
            	<div class="logo"></div>
                <div class="search">
                	<div class="search_content">
						<div class="search_main">
							<form action="search.php" method="get">
                        	<div class="search_icon"></div>
							
                        	<input class="search_text" name="keywords" type="text" value="<?php echo $_smarty_tpl->tpl_vars['assign_skeyword']->value[0]['name'];?>
" /></div>
							<input class="search_button" type="submit" value="搜索" />
                        	</form>
						
                        	
                    </div>
                    <div class="search_keywords">热门搜索：
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['name'] = "s";
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_search']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total']);
?>
                        	<a href="search.php?keywords=<?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
&page=1" target="_blank"><span><?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
 </span></a>
                        <?php endfor; endif; ?>
                    </div>
                </div>
                	<div class="menu_tab">
                    	<li class="selected"><a href="index.html" target="_blank">iPhone游戏</a></li>
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['name'] = "c";
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_artcategory']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total']);
?>
                        	<li><a href="article-1-<?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['id'];?>
-0.html" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['name'];?>
</a></li>
                        <?php endfor; endif; ?><!--                        <li>游戏测评</li>
                        <li>iPhone新闻</li>-->
                        <li><a href="lottery.html" target="_blank">积分兑换</a></li>
                    </div>
            </div>
            <div id="menu_list">
				<div class="listmenu">
              		<li><a href="index.html" target="_blank">首页</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=1&ca=0&kw=0&pre=" target="_blank">限时免费</a></li>
                	<li><a href="app_list.php?page=1&order=1&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">热门游戏</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">最新APP应用</a></li>
                	<li><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=51" target="_blank">网游</a></li>
				</div>
                <div class="app_count"><h1>共<?php echo $_smarty_tpl->tpl_vars['assign_countapp']->value;?>
个应用,今日更新<?php echo $_smarty_tpl->tpl_vars['assign_radnom']->value;?>
个应用</h1></div>
            </div>
        </div><!--头部-->
		<div id="container">
        <div id="content">
			<div id="corner-stamp">
				<div class="search_location">
					应用搜索>><?php echo $_smarty_tpl->tpl_vars['kname']->value;?>

				</div>
				<div class="search_form">
						<li>
							<span class="search_name">搜索应用：</span>
							<form action="" method="get">
							<input type="text" class="search_title" name="keywords" /><input type="submit" class="search_submit" value="搜索" />
							</form>
						</li>
						<li><span class="search_name">热门搜索</span>
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["search"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['name'] = "search";
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_searchkw']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["search"]['total']);
?>
								<dt><a href="search.php?keywords=<?php echo $_smarty_tpl->tpl_vars['assign_searchkw']->value[$_smarty_tpl->getVariable('smarty')->value['section']['search']['index']]['name'];?>
&page=1" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_searchkw']->value[$_smarty_tpl->getVariable('smarty')->value['section']['search']['index']]['name'];?>
</a></dt>
							<?php endfor; endif; ?>
						</li>
				</div>
			</div>

                <div id="content_right">
                    <div class="content_rank">
                    	<div class="category"><div class="category_name">免费应用排行</div><div class="more"><a href="app_list.php?page=1&id=0&pri=1&ca=0&kw=0&pre" target="_blank">更多>>></a></div></div>
                        	<ul class="top">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['name'] = "p";
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_apprank']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']<4){?>
								<li><a href="app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num1"><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }else{ ?>
								<li><a href="app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num"><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }?>
							<?php endfor; endif; ?>
                            </ul>
                    	<div class="content_app2">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['name'] = "rightapp";
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_rightapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total']);
?>
                    		<div class="single">
								<a href="app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['id'];?>
.html" target="_blank"><img width="230px" height="100px" src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
" /></a>
                        		<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
</div>
                        	</div>
							<?php endfor; endif; ?>
                    	</div>
                    </div>
                    <div class="content_intro">
						<div class="title">新手教程</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>入门功能</p></div>
							<dt class="intro_desc"><p>激活iPhone4S|</p><p>123</p><p>123|</p><p>123</p></dt>
							</li>
						</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>装机必备</p></div>
							<dt class="intro_desc"></dt>
							</li>
						</div>
						<div class="intro_main">
							<li>
							<div class="intro_img"><p>越狱破解</p></div>
							<dt class="intro_desc"></dt>
							</li>
						</div>
					</div>
                </div><!--右侧-->
				<div id="app_list">
                	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["app"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['name'] = "app";
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_searchapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["app"]['total']);
?>
                	<div class="box cla <?php echo $_smarty_tpl->tpl_vars['assign_searchapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['id'];?>
"><a href="app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_searchapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['id'];?>
.html" target="_blank"><img width="70px" height="70px" src="<?php echo $_smarty_tpl->tpl_vars['assign_searchapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['icon'];?>
" /><div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_searchapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['app']['index']]['name'];?>
</div></a></div>
                    <?php endfor; endif; ?>
                   
    		</div>
            <div id="fpage">
				<div class="page_content">
                	<?php echo $_smarty_tpl->tpl_vars['assign_first']->value;?>

                    <?php echo $_smarty_tpl->tpl_vars['assign_pre']->value;?>

                    <?php echo $_smarty_tpl->tpl_vars['assign_list']->value;?>

                    <?php echo $_smarty_tpl->tpl_vars['assign_next']->value;?>

                    <?php echo $_smarty_tpl->tpl_vars['assign_last']->value;?>

				</div>
				<script>
					var content = $(".page_content").width();
					var page = $("#fpage").width();
					var margin = (parseInt(page)-parseInt(content))/2;
					$(".page_content").css("margin","0 "+margin+"px");
				</script>
            </div>
            <div id="footer"><?php echo $_smarty_tpl->tpl_vars['assign_info']->value[4]['info'];?>
</div><!--底部-->
        </div>
    </div>
	</div>
</body>
</html>

<?php }} ?>